package com.relman.vo
{
	import com.adobe.cairngorm.vo.IValueObject;
	
	[Bindable]
	[RemoteClass(alias="com.relman.vo.TransactionVO")]
	public class TransactionVO implements IValueObject
	{
		public var id : Number;

		public var status : String;

        public function toXML() : XML {
	      var retval : XML =
<transaction>
  <id>{id}</id>
  <status>{status}</status>
</transaction>

	      return retval;
	    }
		
	    public static function fromXML(transXML : XML) : TransactionVO {
          var transVO : TransactionVO = new TransactionVO();
          transVO.id = transXML.id;
	      transVO.status = transXML.status;
	      return transVO;
	    }
}
}
		


